/**
 * 
 */
package main.observer;

/**
 * @author Hoan.NguyenTrong Jan 25, 2015
 * 
 */
public class Main {

    /**
     * @param args
     */
    public static void main(String[] args) {

	DataSubject dataSubject = new DataSubject();	
	
	dataSubject.registerObserver(new StatisticDisplayObserver());
	dataSubject.setMeasurementData(10, 11, 12);
	dataSubject.setMeasurementData(100, 11, 12);
	dataSubject.registerObserver(new ForcastDisplayObserver());
	dataSubject.setMeasurementData(1000, 11, 12);
	dataSubject.registerObserver(new GeneralDisplayObserver());
	dataSubject.setMeasurementData(10000, 11, 12);
    }

}
